package com.nf.demo.service.impl;

import com.nf.demo.dao.HandlerDAO;
import com.nf.demo.dao.impl.HandlerDAOImpl;
import com.nf.demo.model.pojo.Staffs;
import com.nf.demo.service.HandlerService;

import java.util.List;
import java.util.Map;

/**
 * @author lwj
 * @date 2025-02-27
 * @vesion 1.0.0
 */
public class HandlerServiceImpl implements HandlerService {

    @Override
    public Map<String, Object> selectById(Staffs staffs) {
        return HANDLER_DAO.selectById(staffs);
    }

    @Override
    public List<Map<String, Object>> selectAll() {
        return HANDLER_DAO.selectAll();
    }

    @Override
    public List<Staffs> selectAllList() {
        return HANDLER_DAO.selectAllList();
    }

    @Override
    public Staffs selectByIdList(Staffs staffs) {
        return HANDLER_DAO.selectByIdList(staffs);
    }

    @Override
    public String findSingleName(Staffs staffs) {
        return HANDLER_DAO.findSingleName(staffs);
    }

    @Override
    public Long getRecordCount() {
        return HANDLER_DAO.getRecordCount();
    }

    @Override
    public List<String> findAllName() {
        return HANDLER_DAO.findAllName();
    }

    @Override
    public Object[] selectByIdObject(Staffs staffs) {
        return HANDLER_DAO.selectByIdObject(staffs);
    }

    @Override
    public List<Object[]> selectAllObject() {
        return HANDLER_DAO.selectAllObject();
    }
//
}
